/**
 * File used to define the appearance of the visualization page
 * Author: Lorenzo Baracchi <lorenzo.baracchi@usi.ch>
*/

/************* The chart *************************************/
div.chart{
	display: inline-block;
	width: 1100px;
	height: 550px;
	margin: 0;
	margin-top: 2px;
	padding: 0;
}

div.chart-container {
	width: 1208px;
	height: 550px;
	display: inline-block;
	padding: 0;
	margin-left: 20px;;
	background-color: #F9F9F9;
}

canvas {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    margin:0;
    padding:0;
}
/************************************************************/

/********* Image at chart borders **************************/
img {
	display: inline-block;
	margin: 0;
	padding: 0;
}
img:hover {
	cursor: pointer;
}
/************************************************************/

section {
    display: inline-block;
    padding: 5px;
    margin-left: 10px;
    width: 88%;
}
article {
    display: block;
    float: left;
    margin-left:0;
}
aside {
    display: block;
    float: right;
    margin: 0;
    padding: 0;
    margin-right: 0;
}

section.projectTitle article {
    font-size: 22px;
    font-weight: bold;
}

section.projectTitle aside button{
    background-color: #F9F9F9;
    margin: 0;
    padding: 3px;
    padding-left: 5px;
    padding-right: 5px;
}

section.projectTitle aside button:first-child{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

section.projectTitle aside button:last-child{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

div.hidden{
    display: none;
}

/******* Popup dialog **************************************/
div.dialog-popup{
	font-family: "Ubuntu";
	font-size: 12px;
}
div.dialog-popup table{
	border: 1px solid #CCCCCC;
}
div.dialog-popup table tr:nth-child(odd)  {
	background-color: #CCCCCC;
}
div.dialog-popup table tr:first-child {
	background-color: #A3A2A2;
}
div.dialog-popup table tr:nth-child(even) {
	background-color: #FFF;
}
/************************************************************/

/********** Filters *****************************************/
section div.label {
    width: 100px;
    height:20px;
    background-color: #F9F9F9;
    padding:2px;
    padding-left: 8px;
    margin-left: 25px;
    margin-top:10px;
    border: 1px solid #30302F;
    border-top-left-radius: 15px;
    text-decoration: none;
}
section a div.label{
    text-decoration: none;
}

div.slidingDiv {
    width: 90%;
    background-color: #F9F9F9;
    padding:10px;
    margin-left: 25px;
    border: 1px solid #30302F;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}
 
.show_hide {
    display:none;
    color: rgb(20,23,25);
}

div.buttons {
    margin-top: 15px;
}

table.filters{
    margin-top: 10px;
    border: 1px solid #CCCCCC;
}
table.filters tr{
    padding: 0;
}
table.filters tr:nth-child(odd)  {
    background-color: #CCCCCC;
}
table.filters tr:first-child {
    background-color: #A3A2A2;
}
table.filters tr:nth-child(even) {
    background-color: #FFF;
}
table.filters td,th{
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 0;
    margin-right: 0:
}

input[type=text] {
    width: 400px; 
}
/************************************************************/
